package com.xian.demo.demovue;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
@ComponentScan(basePackages={"com.xian.demo"})
@MapperScan(basePackages={"com.xian.demo.mapper"})
public class DemoVueApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoVueApplication.class, args);
	}

}
